package com.luo.chengrui.module.sa.controller.admin.role.vo;

import com.luo.chengrui.module.sa.controller.admin.role.vo.PermissionBaseVO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - 角色菜单权限 Response VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class PermissionRespVO extends PermissionBaseVO {

    @Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "4821")
    private String id;

    @Schema(description = "菜单名称")
    private String name;

    @Schema(description = "PERMISSION")
    private String permission;

    @Schema(description = "菜单类型")
    private Integer type;

    @Schema(description = "排序号")
    private Integer sort;

    @Schema(description = "父类ID")
    private Long parentId;

    @Schema(description = "路径")
    private String path;

    @Schema(description = "图标")
    private String icon;

}
